/*
 * @Author: 胡俊/treence
 * @Date: 2022-05-18 13:41:31
 * @LastEditors: 胡俊/treence
 * @LastEditTime: 2022-05-20 17:36:13
 * @Description: 
 * @Email: treence@gmail.com
 * @Company: 3xData
 * @youWant: add you want
 */
import globalPostRequest from '@/request/globalPostRequest.js'

// 机关信息更新
export function reportSign_update (data, callback) {
    return globalPostRequest({
        url: '/rport/sign',
        method: 'put',
        header: {
            'content-type': 'application/json;charset=UTF-8'
        },
        data,
        callback
    })
}

// 查看
export function reportSign_form (data, callback) {
    return globalPostRequest({
        url: '/rport/getProjectVOByReportId/' + data,
        method: 'get',
        callback
    })
}

// 判断是否为社会单位用户
export function reportUnitInfo (data, callback) {
    return globalPostRequest({
        url: '/unitInfo/isUnit',
        method: 'get',
        callback
    })
}